function Tab(el,option)
{
    this.el=document.querySelector(el)
    this.init()
}
Tab.prototype.init=function(){
    this.titleOver()
}
Tab.prototype.titleOver=function(){
    let ulLiObj=this.el.querySelectorAll('ul li')
    ulLiObj.forEach((item,i)=>{
    item.onmouseover=()=>{
        this.el.querySelector('ul li.active').className=''
        item.className='active'
        this.el.querySelector('ol li.active').className=''
        this.el.querySelectorAll('ol li')[i].className='active'
    }
    })
}